//引入axios封装
import request from '@/utils/request'
//获取群聊任务详细
export function getAddGroup(params) {
  return request({
    url: '/add/group/get/add/group',
    method: 'post',
    data:params
  })
}
//删除群聊任务
export function deleteAddGroup(id) {
  return request({
    url: `/add/group/delete/add/group/${id}`,
    method: 'post',
  })
}
//新增群聊任务
export function insertAddGroup(params) {
  return request({
    url: `/add/group/insert/add/group`,
    method: 'post',
    data:params
  })
}
//修改群聊任务
export function updateAddGroup(params) {
  return request({
    url: `/add/group/update/add/group`,
    method: 'post',
    data:params
  })
}
